This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
The backslash character is an escape character in SSJS. If you need a backslash character in a string, you'll have to escape it. Try to use
"prod\\diary.nsf"
Since the target database seems to be on the same server as the one containing your XPage, you can use an empty string as the first parameter of the getDatabase call:
var whichDb:NotesDatabase = session.getDatabase("", "prod\\diary.nsf");
Mark
Feedback response number WEBB8B8EZ4 created by ~Tip Kinizennivu on 11/15/2010